
import java.io.File;

/**
 * Class gathering data read from directory tree part of master.dat.<br>
 * Apart from gathering, this class writes data to desired outputfiles.
 * 
 * @author Divine Kota :P
 */


public class FileData {
    
    //filename, jak sama nazwa wskazuje ;) nazwa finalnego pliku outputowego
    private String filename;
    
    /**
     * standard getter for filename variable
     * @return text value of filename
     */
    public String getFileName() {return filename;}
    /**
     * standard setter for filename variable
     * @param name text that has to be set
     */
    public void setFileName(String name) {filename = name;}
    
    //offset, czyli miejsce w master, gdzie ma szukać pliku
    private long offset;
    /**
     * standard getter for offset variable
     * @return offset :P
     */
    public long getOffset() {return offset;}
    /**
     * standard setter for offset variable
     * @param offset long-type number that has to be set
     */
    public void setOffset(long offset) {this.offset = offset;}
    
    
    
    private int fileSize;
    /**
     * standard getter for variable filesize
     * @return size of the compressed file (number of bytes)
     */
    public int getFileSize() {return fileSize;}
    /**
     * standard setter for variable filesize
     * @param size number read from input file and set to variable fileSize
     */
    public void setFileSize(int size) {fileSize = size;}
    
    /**
     * variable defining if file is compressed
     */
    
    //rozmiar pliku skompresowanego! czyli ilość bajtów, która ma być odczytana z master.dat
    private int compressedSize;
    public int getCompressedSize() {return compressedSize;}
    public void setCompressedSize(int size) {compressedSize = size;}
    
    boolean isCompressed;
       
    public FileData() {
        
    }
    
}
